package com.codeduck.aop.controller;

import com.codeduck.aop.annotation.Log;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: <a href="mailto:codeduck@163.com">Codeduck</a>
 * @createDate: 2021-12-25
 */
@RestController
public class IndexController {

    @RequestMapping("/hello")
    @Log("测试一下@Log注解是否有效")
    public String index() {
        return "hello !";
    }
}
